package com.chujian.dao;

import java.util.List;
import java.util.Set;

import com.chujian.model.Food;

/**
 * 
 * @author cc
 *
 */
 
public interface FoodDao {
	public boolean addNewFood(Food newFood);					//添加菜品
	public boolean updateFood(Food food);						//修改菜品
	public boolean deleteFood(String foodName);					//删除菜品
	public boolean commentFood(String foodName,String zan_cai);	//评论菜品
	public List<Food> qeuryFoodList(String categary);			//查询指定类型下的所有菜品
	public List<Food> qeuryAllFood();							//查询所有菜品
	public Food qeuryFoodByName(String foodName);				//查询指定名字的菜品
	public List<String> getAllCategary();						//查询所有菜品类别
	
}
